/**
 * Description: 全局字典
 *
 * Created by hrx on 2023/9/18
 */
export default {
  // 图片缩略图后缀
  IMAGE_SUFFIX: '?x-oss-process=image/resize,w_500,limit_0',
  // 空数据缺省图
  NOT_DATA_IMG: "https://iotest.dictech.com.cn/image/wechat/train/notData.png",
  // 用户状态
  USER_STATUS: {
    1: '正常',
    2: '禁用',
    3: '待激活',
  },
  // 用户状态
  USER_TYPE: {
    1: '超级管理员',
    2: '子管理员',
    3: '学员',
  },
  // 账号来源
  USER_ORIGIN: {
    1: '平台',
    2: '小程序',
  },
  // 成员管理排序字段类型(1: 姓名, 2:人员类别, 3:工号, 4:所在科室, 5:归口管理科室, 6:岗位, 7:角色/职务, 8:创建时间)
  USER_SORT_TYPE: {
    userName: 1,
    typeName: 2,
    jobNum: 3,
    hospitalDeptName: 4,
    centralManageDeptName: 5,
    postName: 6,
    jobName: 7,
    createTime: 8,
  },
  SORT_ORDER_TYPE: {
    ascending: 'ASC',
    descending: 'DESC',
  },
  USER_STATUS_LIST: [
    {label: "正常", value: 1},
    {label: "禁用", value: 2},
    {label: "待激活", value: 3}
  ],
  USER_TYPE_LIST: [
    {label: "超级管理员", value: 1},
    {label: "子管理员", value: 2},
    {label: "学员", value: 3}
  ],
  DEVICE_STATUS: {
    null: {TITLE: '未激活', COLOR: '#A6B6C6'},
    0: {TITLE: '未激活', COLOR: '#A6B6C6'},
    1: {TITLE: '在线', COLOR: '#23BCCA'},
    2: {TITLE: '离线', COLOR: '#F55A6E'}
  },
  NETWORK_STATUS: {
    null: {TITLE: '离线', COLOR: '#F55A6E'},
    0: {TITLE: '离线', COLOR: '#F55A6E'},
    1: {TITLE: '在线', COLOR: '#23BCCA'},
  },
  // 手卫生类型列表
  CLEAN_TYPE_LIST: [
    {ID: 1, TITLE: '卫生手消毒'},
    {ID: 2, TITLE: '洗手'},
    {ID: 3, TITLE: '外科手术消毒'}
  ],
  COMPLIANCE_TYPE_LIST: [
    {ID: 0, TITLE: '未依从'},
    {ID: 1, TITLE: '部分依从'},
    {ID: 2, TITLE: '已依从'},
  ],
  // 手卫生类型map
  CLEAN_TYPE_MAP: {
    1: '卫生手消毒',
    2: '洗手',
    3: '外科手术消毒'
  },
  COMPLIANCE_STATUS_LIST: [
    {ID: 0, TITLE: '未规范完成'},
    {ID: 1, TITLE: '已规范完成'}
  ],
  COMPLIANCE_STATUS_MAP: {
    0: {TITLE: '未规范完成', COLOR: '#F55A6E'},
    1: {TITLE: '已规范完成', COLOR: '#23BCCA'},
  },
  // 步骤类型map
  ACTION_DETAILS_TYPE_MAP: {
    0: '七步洗手',
    1: '洗手阶段',
    2: '冲洗',
    3: '擦干',
    4: '消毒',
    5: '消毒洗手',
  },
  // ACTION_DETAILS_TYPE_MAP: [
  //   {TITLE: '七步洗手'},
  //   {TITLE: '洗手阶段'},
  //   {TITLE: '冲洗'},
  //   {TITLE: '擦干'},
  //   {TITLE: '消毒'},
  //   {TITLE: '消毒洗手'},
  // ],
  COMPLIANCE_STATUS: {
    0: {TITLE: '未依从', COLOR: '#F55A6E'},
    1: {TITLE: '部分依从', COLOR: '#FF9F24'},
    2: {TITLE: '已依从', COLOR: '#23BCCA'},
  }

}